import { Col, Row } from "antd";
import AdminButton from "./button/AdminButton";
import FunctionSubmitChoice from "./function/FunctionSubmitChoice";
import FunctionSubmitBlank from "./function/FunctionSubmitBlank";
import FunctionImage from "./function/FunctionImage";
import FunctionManageProblem from "./function/FunctionManageProblem";
import FunctionSubmitDiscuss from "./function/FunctionSubmitDiscuss";
import FunctionSortKnowledge from "./function/FunctionSortKnowledge";
import FunctionCreateKnowledge from "./function/FunctionCreateKnowledge";
import FunctionManageKnowledge from "./function/FunctionManageKnowledge";
import FunctionManageData from "./function/FunctionManageData";


const AdminHomePage = () => {

  return (
    <Row gutter={[10, 80]} style={{ padding: 40, marginLeft: 100 }}>
      <AdminButton name="提交选择题" color="#5a1216">
        <FunctionSubmitChoice />
      </AdminButton>
      <AdminButton name="提交填空题" color="#ed556a">
        <FunctionSubmitBlank />
      </AdminButton>
      <AdminButton name="提交论述题" color="#2177b8">
        <FunctionSubmitDiscuss />
      </AdminButton>
      <AdminButton name="提交连线题" color="#b2cf87">
        <FunctionImage />
      </AdminButton>
      <AdminButton name="审核问题" color="#876818">
        <FunctionManageProblem />
      </AdminButton>
      <AdminButton name="用户反馈" color="#f6c430">
        <FunctionImage />
      </AdminButton>
      <AdminButton name="数据管理" color="#15231b">
        <FunctionManageData />
      </AdminButton>
      <AdminButton name="奖励发放" color="#126e82">
        <FunctionImage />
      </AdminButton>
      <AdminButton name="管理用户" color="#681752">
        <FunctionImage />
      </AdminButton>
      <AdminButton name="创建知识点" color="#525288">
        <FunctionCreateKnowledge />
      </AdminButton>
      <AdminButton name="排序知识点" color="#1a1374">
        <FunctionSortKnowledge />
      </AdminButton>
      <AdminButton name="管理知识点" color="#a61b29">
        <FunctionManageKnowledge />
      </AdminButton>
      <AdminButton name="管理板块" color="#0eb0c9">
        <FunctionImage />
      </AdminButton>
      <AdminButton name="管理活动" color="#1a6840">
        <FunctionImage />
      </AdminButton>
      <AdminButton name="管理权限" color="#e16c96">
        <FunctionImage />
      </AdminButton>
      <AdminButton name="管理称号" color="#36292f">
        <FunctionImage />
      </AdminButton>
    </Row>
  );
};

export default AdminHomePage;